package com.spring.arch.common.exception;

import org.springframework.http.HttpStatus;

public class BadRequestException extends AppRuntimeException {
    private static final long serialVersionUID = 5579343827992277500L;

    public BadRequestException(final String message) {
        this(message, null);
    }

    public BadRequestException(final String message, final Throwable cause) {
        super(message, cause);
        super.status = HttpStatus.BAD_REQUEST; // 400
    }
}
